package com.template.mongo.service.impl;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.template.mongo.persistence.dao.VideoDao;
import com.template.mongo.persistence.entity.Video;
import com.template.mongo.service.VideoService;

@Service
public class VideoServiceImpl implements VideoService {

	static Logger logger = Logger.getLogger(VideoServiceImpl.class);

	@Autowired
	private VideoDao videoDao;

	@Override
	public List<Video> findAll() {
		return videoDao.findAll();
	}

}
